package com.atguigu.gulimall.product.service;

import com.atguigu.gulimall.product.vo.AttrRespVO;
import com.atguigu.gulimall.product.vo.AttrVO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.product.entity.AttrEntity;

import java.util.Map;

/**
 * 商品属性
 *
 * @author xiong
 * @email 574646166@qq.com
 * @date 2021-06-24 16:40:32
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void saveCascade(AttrVO attr);

    PageUtils queryBasePage(Map<String, Object> params, Long catelogId);

    AttrRespVO getAttrInfo(Long attrId);

    void updateAttr(AttrVO attr);
}

